(function(plugIn) {

  jsx3.$O(plugIn).extend({

    paint: function(objContainer) {
      //var Wizard = com.tibco.amx.Wizard;
      //var WizardPane = com.tibco.amx.WizardPane;

      var layout = this.loadRsrcComponent("layout", objContainer, false);

      objContainer.paintChild(layout);
    },
    
    showWizard: function() {
        this._showWizard();
    },
    
    // refer to AMP Engine method.
    getPlugIn: function(plugin) {
        return this.getEngine().getPlugIn(plugin);
        //return jsx3.amp.Engine.getEngine(amxWizard).getPlugIn(plugin);
    }
    
  });

})(this);
